#ifndef EPROJECT_H
#define EPROJECT_H
#include <QString>
#include <QTreeWidgetItem>

class EProject
{
public:
    EProject(QTreeWidget* =0);
    void open(QString);
    inline const QString id(){ return this->m_id;}
    inline const QString name(){ return this->m_name;}
    inline const QString author(){return this->m_author;}
    inline QTreeWidgetItem* tree() {return this->m_tree;}
    inline bool hasError(){ return m_hasError;}
public slots:

 private:
    bool m_hasError;
    QString m_login;
    QString m_password;
    QString m_id;
    QString m_name;
    QString m_author;
    QStringList rules;
    QTreeWidgetItem *m_tree;
    QIcon m_folderIcon;
    QIcon m_sourceIcon;
    QIcon m_headerIcon;
    QIcon m_undefinedIcon;
    QIcon m_applicationIcon;
};

#endif // EPROJECT_H
